Quality checks & repository cleanup#101
Conversation
e1a8480 to
e0643ed
Compare
e0643ed to
61f0449
Compare
|
The created documentation from the pull request is available at: docu-html |
- executes UTs for external modules based on known_good.json file
fedbc72 to
50d188c
Compare
50d188c to
2479ea3
Compare
298f9c7 to
d3d4fe4
Compare
98a2d5f to
fc348fc
Compare
c9af992 to
f057def
Compare
f057def to
e6473cc
Compare
54b1935 to
6036f1b
Compare
6036f1b to
62eec60
Compare
8fc0354 to
62eec60
Compare
24577d3 to
eab82fe
Compare
|
The CI job has been fixed. |
There was a problem hiding this comment.
Pull request overview
This PR performs a significant repository restructuring and cleanup to consolidate the S-CORE reference integration. The main changes involve:
Changes:
- Restructures the repository by moving integration content from
integration/subdirectory to root level - Reorganizes
known_good.jsonto support grouped module structure (target_sw vs tooling) - Adds comprehensive showcase examples (CLI, Kyron, orchestration+persistency, lifecycle, standalone)
- Updates all GitHub workflows to work with new structure and adds QNX workflow conditional disable
- Removes deprecated files (
score_modules.MODULE.bazel,score_toolchains.MODULE.bazel,build_config.json)
Reviewed changes
Copilot reviewed 40 out of 159 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
showcases/*/ |
New showcase examples with CLI, Kyron runtime, orchestration+persistency, lifecycle management |
images/*/ |
Platform-specific image builds (QNX, Linux, AutoSD, EB) with configs and BUILD files |
runners/*/ |
Runner scripts for QEMU and Docker execution |
feature_integration_tests/ |
New test infrastructure with Rust scenarios and Python test cases |
bazel_common/*.MODULE.bazel |
Modularized Bazel configuration split by concern (toolchains, modules, etc) |
known_good.json |
Restructured with grouped modules (target_sw, tooling) and metadata |
scripts/known_good/*.py |
Updated scripts supporting grouped structure and pin_version |
.github/workflows/*.yml |
Updated workflows for new structure, disabled integration test temporarily |
MODULE.bazel, .bazelrc |
Updated for new structure with includes for modular configuration |
README.md, docs/* |
Updated documentation reflecting new structure |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
|
|
||
| Automatically detects flat vs grouped structure: | ||
| - Flat: {"modules": {"score_baselibs": {...}, "score_logging": {...}}} |
There was a problem hiding this comment.
I think it is not needed to support both structures. and just go with the grouped one.
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # |
There was a problem hiding this comment.
why was the header removed?
|
|
||
| unit_tests_summary, coverage_summary = {}, {} | ||
|
|
||
| CURRENTLY_DISABLED_MODULES = [ |
There was a problem hiding this comment.
could we put this in the known_good.json?
There was a problem hiding this comment.
We put it here since it shall be gone tomorrow once logging repo pushes code that unblocks all modules.
build_config.json
Outdated
There was a problem hiding this comment.
removing this file will break
scripts/integration_test.py
you can move or integrate it in the script
There was a problem hiding this comment.
scripts/integration_test.py is not needed anymore imho. We will need to chop out content after 0.6 that shall run in a reusable workflow that you use from other repos (probably simply quality_checks.py).
The thing is that to really check if module changes does not affect this repo You will have to run most of worflows. And this will yield a long times. So maybe we will just build either quality_check or build_end_tesT_linux, but let's figure this out next week ? At the end, I would not like to maintain yet another command to build modules since it;s frigile (depended what modules does internally etc.)
4f38065 to
3ea9fec
Compare
3ea9fec to
e5f6c22
Compare
|
LGTM |
|
|
||
| # Split and validate owner/repo format | ||
| parts = path.split("/", 2) # Split max 2 times to get owner and repo | ||
| if len(parts) < 2 or not parts[0] or not parts[1]: |
There was a problem hiding this comment.
2 should also be handled
There was a problem hiding this comment.
what do you exactly mean ?
There was a problem hiding this comment.
split array >2 not handled here
| python3 scripts/known_good/update_module_from_known_good.py \\ | ||
| --known custom_known_good.json \\ | ||
| --output custom_modules.MODULE.bazel | ||
| --known custom_known_good.json |
There was a problem hiding this comment.
can we just move that name in to a variable
There was a problem hiding this comment.
Not sure what you're heading to.
There was a problem hiding this comment.
hardcoded "custom_known_good.json" path
There was a problem hiding this comment.
This is a documentation comment so it uses some name as example
* Align deps to use latest mains - logging used from branch to unblock further work * Prohibit both hash and version * Cleanup based on missed review from #101 * Adapt EB image * Fix QNX build * fix docs deployment * enable UTs for logging - add parsing `extra_test_config` from known_good.json - cleanup code * bump persistency * add baselibs config * Handle errors in split and cleanup workflows * add user selected test execution * fix communication metadata --------- Co-authored-by: Piotr Korkus <piotr.korkus.ext@qorix.ai>
Uh oh!
There was an error while loading. Please reload this page.